package com.example.shopping;


import com.example.shopping.user.entity.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/*
    统一返回JSON 对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class JsonResult {
//    Object data;
//    Object meta;

    boolean code; //状态码
    String msg;   //提示信息
    Object obj = new Object();//返回的数据
}
